<template>
  <el-button text @click="centerDialogVisible = true">
    点击
  </el-button>


<!--  弹窗-->
  <el-dialog v-model="centerDialogVisible"  width="30%" center>
    <span>
      请打开中舞网APP，点击"练习室"-"音频库"中查看。
    </span>
    <template #footer>
      <span class="dialog-footer">
        <el-button type="primary" @click="centerDialogVisible = false">
          确定
        </el-button>
      </span>
    </template>
  </el-dialog>
</template>

<script lang="ts">
import {defineComponent} from "vue";

export default defineComponent({
  name: "index",
});
</script>

<script setup lang="ts">
import { ref } from 'vue'

const centerDialogVisible = ref(false)
</script>

<style scoped>
.dialog-footer button:first-child {
  margin-right: 10px;
}


</style>
